package factory.st;

import factory.st.pad.HuaweiPad;
import factory.st.pad.XiaomiPad;
import factory.st.phone.HuaweiPhone;
import factory.st.phone.XiaomiPhone;

public class XiaomiFactory implements AbstractFactory{
    @Override
    public void producePhone() {
        XiaomiPhone xiaomiPhone = new XiaomiPhone();
        xiaomiPhone.produce();
    }

    @Override
    public void producePad() {
        XiaomiPad xiaomiPad = new XiaomiPad();
        xiaomiPad.produce();
    }
}
